package com.nameless.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author chh
 * @since 2023-02-26
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("tb_company")
@ApiModel(value="Company对象", description="")
public class Company implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "公司名称")
    private String cname;

    @ApiModelProperty(value = "联系人")
    private String coontacts;

    @ApiModelProperty(value = "电话")
    private String phonenum;

    @ApiModelProperty(value = "固定电话")
    private String fixzdNum;

    @ApiModelProperty(value = "业务类型(自驾长包，代驾长包，自驾零单，代驾零单，其他)")
    private String type;

    @ApiModelProperty(value = "租赁时间（一月以内，一月到一年，一年。。。五年以上）")
    private String leaseTime;

    @ApiModelProperty(value = "城市")
    private String city;

    @ApiModelProperty(value = "邮箱")
    private String email;


}
